package com.mijie.homi.common.domain.session;

import java.io.Serializable;
import java.util.Date;

public class Session implements Serializable{
	
	private static final long serialVersionUID = 1L;
	private int userId;
	private String token;
	private long id;
	private String os;
	private String appVer;
	private Date createAt;
	
	public Session(String token,long id){
		this.token = token;
		this.id = id;
	}
	
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public String getToken() {
		return token;
	}
	public String getOs() {
		return os;
	}
	public void setOs(String os) {
		this.os = os;
	}
	public String getAppVer() {
		return appVer;
	}
	public void setAppVer(String appVer) {
		this.appVer = appVer;
	}
	public long getId() {
		return id;
	}
	public Date getCreateAt() {
		return createAt;
	}
	public void setCreateAt(Date createAt) {
		this.createAt = createAt;
	}
}
